package top.continew.admin.webapi.jobfair;

import top.continew.starter.extension.crud.enums.Api;

import io.swagger.v3.oas.annotations.tags.Tag;

import org.springframework.web.bind.annotation.*;

import top.continew.starter.extension.crud.annotation.CrudRequestMapping;
import top.continew.starter.extension.crud.controller.BaseController;
import top.continew.admin.jobfair.model.query.JobPositionQuery;
import top.continew.admin.jobfair.model.req.JobPositionReq;
import top.continew.admin.jobfair.model.resp.JobPositionDetailResp;
import top.continew.admin.jobfair.model.resp.JobPositionResp;
import top.continew.admin.jobfair.service.JobPositionService;

/**
 * 双选会企业岗位管理 API
 *
 * @author xiahaike
 * @since 2024/09/12 13:51
 */
@Tag(name = "双选会企业岗位管理 API")
@RestController
@CrudRequestMapping(value = "/jobfair/jobPosition", api = {Api.PAGE, Api.GET, Api.ADD, Api.UPDATE, Api.DELETE, Api.EXPORT})
public class JobPositionController extends BaseController<JobPositionService, JobPositionResp, JobPositionDetailResp, JobPositionQuery, JobPositionReq> {}